package com.bcx.crm.mapper.templateTestMapper;

import com.bcx.crm.entity.Template;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * Created by ys on 2018/2/3.
 */
@Mapper
public interface SelectTemplateMapper {
    List<Map<String,Object>> getTemplate(Object object);

    @Select("select * from dms.tdms_template where row_id=#{rowId}")
    Map<String,Object> getTemplate1(@Param("rowId") String rowId);

    List<Template> getListByHashmap(@Param("map") Map<String,Object> map);
    List<Template> getListByTemplateApply(Template template);
    List<Template> getList1(@Param("map") Map<String,Object> map);
    List<Map> getListBySeparator(@Param("map") Map<String,Object> map);
    List<Map<String,Object>> getListByMap(@Param("map") Map<String,Object> map);
    List<Map<String,Object>> getListByRowIds(@Param("list") List<String> list);
}
